package Day001_继承_抽象类.zuoye;

public class Test {
    public static void main(String[] args) {
        BingXiang b = new BingXiang();
        b.setPinpai("海尔");
        b.setXinghao("HE111");
        b.setColor("银色");
        b.setPrice(5555.99);
        b.setDoor("双开门");
        b.setZhileng("制冷");
        System.out.println(b.getPinpai() + b.getXinghao() + b.getColor() + b.getPrice() + b.getDoor() + b.getZhileng());

        XiYiJi x = new XiYiJi();
        x.setPinpai("西门子");
        x.setXinghao("XMZ111");
        x.setColor("金色");
        x.setPrice(4555.99);
        x.setDianji("西门子");
        x.setRongliang("8L");
        System.out.println(x.getPinpai() + x.getXinghao() + x.getColor() + x.getPrice() + x.getDianji() + x.getRongliang());

        TV t = new TV();
        t.setPinpai("LG");
        t.setXinghao("LG111");
        t.setColor("黑色");
        t.setPrice(5585.99);
        t.setChicun("32c");
        t.setFenbianlv("4K");
        System.out.println(t.getPinpai() + t.getXinghao() + t.getColor() + t.getPrice() + t.getChicun() + t.getFenbianlv());
    }
}
